Skip to content

Change the search behaviour#10039

Open
mojganii wants to merge 1 commit intomainfrom
implement-the-new-search-behaviour-ios-1479
Open

Change the search behaviour#10039
mojganii wants to merge 1 commit intomainfrom
implement-the-new-search-behaviour-ios-1479

Conversation

@mojganii
Copy link
Contributor

@mojganii mojganii commented Mar 20, 2026

This PR introduces new behavior in location search:

  • For filtering results, match any name that contains the search term string

  • Prefix matches rank higher than contains matches

  • “Starts with” ranks higher than second word

  • Words rank higher the sooner they occur in the name

  • Dashes are not spaces

  • Search terms are matched strictly, separate words are handled as a single string.

  • When searching for a child, do not display the parent as this makes searches like “Za” bring up Croatia, when in reality the user is probably looking for Zagreb.


This change is Reviewable

@mojganii mojganii self-assigned this Mar 20, 2026
@mojganii mojganii added the iOS Issues related to iOS label Mar 20, 2026
@linear
Copy link

linear bot commented Mar 20, 2026

@mojganii mojganii marked this pull request as draft March 20, 2026 08:57
@github-actions
Copy link

🚨 End to end tests failed. Please check the failed workflow run.

@mojganii mojganii force-pushed the implement-the-new-search-behaviour-ios-1479 branch 2 times, most recently from 7b1ade2 to 6d7a634 Compare March 25, 2026 13:46
@mojganii mojganii requested review from acb-mv and rablador March 25, 2026 13:48
@mojganii mojganii force-pushed the implement-the-new-search-behaviour-ios-1479 branch from 6d7a634 to 02613f0 Compare March 25, 2026 13:55
@mojganii mojganii marked this pull request as ready for review March 25, 2026 13:55
@mojganii mojganii marked this pull request as draft March 26, 2026 08:28
@mojganii mojganii force-pushed the implement-the-new-search-behaviour-ios-1479 branch from 02613f0 to d093361 Compare March 26, 2026 09:17
@mojganii mojganii marked this pull request as ready for review March 26, 2026 09:27
@mojganii mojganii force-pushed the implement-the-new-search-behaviour-ios-1479 branch from d093361 to 6b06b9e Compare March 26, 2026 09:44
@mojganii mojganii force-pushed the implement-the-new-search-behaviour-ios-1479 branch from 6b06b9e to f9373eb Compare March 26, 2026 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

iOS Issues related to iOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant